package org.vaadinpa.data.ships;

import org.vaadinpa.data.Resource;
import org.vaadinpa.data.Ship;

public class Agamemnon extends Ship {

	@Override
	public int getArmor() {
		return 180;
	}

	@Override
	public String getDescription() {
		return null;
	}

	@Override
	public int getInit() {
		return 8;
	}

	@Override
	public String getName() {
		return "Agamemnon";
	}

	@Override
	public int getPower() {
		return 160;
	}

	@Override
	public int getPrice(Resource resource) {
		switch (resource) {
		case METAL:
			return 840;
		case CRYSTAL:
			return 680;
		case GOLD:
			return 680;

		default:
			break;
		}
		return 0;
	}

	@Override
	public ShipType getPrimaryTarget() {
		return ShipType.CRUISER;
	}

	@Override
	public ShipType getSecondaryTarget() {
		return ShipType.BATTLESHIP;
	}

	@Override
	public ShipType getType() {
		return ShipType.BATTLESHIP;
	}

}
